console.log("aaa")


a1=[[1,1], [1,1],[1,1]];


console.log(a1.reduce((a,b) => {return a.concat(b)}).reduce((a, b) => {return a + b}));

let abc =  a1.reduce((a1,b1) => {
    a1.reduce((a2, b2)=> {return a2 + b2})
    + b1.reduce((a3,b3) => {return a3+ b3})
});

console.log(abc)

// console.log(a2.reduce(getsum))